package com.fashiontextile.common.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * @author brooke_zb
 */
@Data
@ConfigurationProperties("yitter.snowflake")
@RefreshScope
public class SnowflakeProperties {
    private Short workerId = 1;
}
